#include <QtGui/QApplication>
#include "window.h"
#include "world.h"
#include "include.h"
#include <QObject>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Window w;

    World *world = new World();
    QObject::connect(&w,SIGNAL(dataFromLineEdit(QString)),world,SLOT(getCommandFromWindow(QString)));
    w.show();
    //itstaf.by/news/
    return a.exec();
}
